Add command line help text for new subcommand 'cargo test'
authorSamuel Chase <samebchase@gmail.com>
Fri, 27 Jun 2014 10:43:55 +0000 (16:13 +0530)
committerSamuel Chase <samebchase@gmail.com>
Fri, 27 Jun 2014 10:43:55 +0000 (16:13 +0530)
src/bin/cargo.rs

index d8427326e7a038063b431dbac5f4a37abf837621..6bafc01fa7bb75b8aa2890f9dd8f68f234f961e3 100644 (file)
@@ -50,6 +50,7 @@ fn execute() {
         "--help" | "-h" | "help" | "-?" => {
             println!("Commands:");
             println!("  build          # compile the current project\n");
+            println!("  test           # run the tests\n");
 
             let (_, options) = hammer::usage::<GlobalFlags>(false);
             println!("Options (for all commands):\n\n{}", options);